import Home from '../component/Home'
import About from "../component/About"
import { Navigate } from 'react-router-dom'
import Content from '../component/Content'

export default [
  {
    path:'/home',
    element: <Home/>
  },
  {
    path:'/about',
    element: <About/>,
    children: [
      {path:'content', element:<Content/>}
    ]
  },
  {
    path: '/',
    element: <Navigate to={'/about'}/>
  }
]